package week7;

import junit.framework.TestCase;

public class CowTest extends TestCase {

    Cow cw = new Cow("香锅肥牛", 9);
    public void testEat() {
        System.out.println(cw.getName() + "eat grass");
    }

    public void testSleep() {
        System.out.println(cw.getName() + " sleep");
    }

    public void testIntroduction() {
        System.out.println("大家好！我是" + "编号为" + cw.getId() + "名字为：" + cw.getName() +"");
    }
}
